package org.example.controller.admin;

import org.example.response.ResponseResult;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/admin/comment")
public class CommentApi {

    @DeleteMapping("/{commentId}")
    public ResponseResult deleteComment(@PathVariable String commentId) {
        return null;
    }

    @GetMapping("/{commentId}")
    public ResponseResult getComment(@PathVariable String commentId) {
        return null;
    }

    @GetMapping("/list")
    public ResponseResult listComment(@RequestParam("page") int page, @RequestParam("size") int size) {
        return null;
    }

    @PutMapping("/top/{commentId}")
    public ResponseResult topComment(@PathVariable String commentId) {
        return null;
    }
}
